package com.sharding4.mybatis.seata;

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * 添加 VM 参数：--add-opens java.base/java.lang=ALL-UNNAMED
 *
 * @author Administrator
 */
@MapperScan("com.sharding4.mybatis.seata.mapper")
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class, DruidDataSourceAutoConfigure.class})
public class SeataSharding4MybatisApplication {
    public static void main(String[] args) {
        SpringApplication.run(SeataSharding4MybatisApplication.class, args);
    }
}
